package cn.net.wanji.utils;

/**
 * @author guodejun
 * @createTime 2022/11/1 9:14
 * @description
 */
public class Test {

    public static void main(String[] args) {

        String[] arrs = {
                "G0050330010010100102022102617010153",
                "G0050330010010100102022102617010154",
                "G0050330010010100102022102617010156",
                "G0050330010010100102022102617010157",
                "G0050330010010100102022102617010158",
                "G0050330010010100102022102617010159"
        };
        String ERID = "G005033001001010010";
        for (String recordId : arrs) {
            long l = Long.parseLong(recordId.replace(ERID, ""));
            System.out.println(l % 3);
        }


        String s = "皖KP5908";

        String substring = s.substring(0, 1);

        System.out.println(substring);

        String basePath = "F:\\check_data\\测试数据\\";

//        String[] fileNames = FileUtil.file(basePath).list();
//        Arrays.stream(fileNames).forEach(item -> {
//            String jsonText = new FileReader(basePath + item).readString();
//            JsonRoot jsonRoot = JSONObject.parseObject(jsonText, JsonRoot.class);
//            String unlawfulMold = jsonRoot.getUnlawfulMold();
//            if (unlawfulMold != null && !"".equals(unlawfulMold)) {
//                System.out.println(item);
//            }
//
//        });

        String flag = "2 == 2";

        boolean b = Boolean.parseBoolean(flag);

        System.out.println(b);


    }
}
